﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Clases.Gestores;
namespace CECWeb
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           //string grupo = Request.QueryString["grupo"];
           cargarTema();
        }

        private void cargarTema()
        {
            string grupo = "Progra2-1";
           
            GridView1.DataSource = GestorTema.listarTemasxGrupo(grupo);
            GridView1.DataBind();
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("TemaForm.aspx");
        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {
            //Response.Redirect("Tema.aspx");
        }
    }
}